<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>云钢</title>
    <link rel="stylesheet" type="text/css" href="../../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../../css/aui-flex.css">
    <link rel="stylesheet" type="text/css" href="../../css/style.css" />
    <style>
        .aui-bar-light{ color: black; }
        .aui-bar-nav.aui-bar-light .aui-iconfont{ color: black; }
    </style>
</head>

<body>
    <header class="aui-bar aui-bar-nav aui-bar-light" id="header">
        <a class="aui-pull-left aui-btn" onclick="backpage()">
            <span class="aui-iconfont aui-icon-left"></span>
        </a>
        <div class="aui-title">发布二手物品</div>
    </header>
    <div id="app" v-cloak>
        <div class="padding-tb padding-lr">
            <div>
                <h3 class="text-bold">物品分类</h3>
                <input type="text" placeholder="请选择物品所属的分类" style="background: white;text-indent: 0.5rem;" class="margin-top radius">
            </div>
            <div class="margin-top-xl">
                <h3 class="text-bold">标题</h3>
                <input type="text" placeholder="请输入二手物品名称/标题" style="background: white;text-indent: 0.5rem;" class="margin-top radius">
            </div>
            <div class="margin-top-xl">
                <h3 class="text-bold">介绍</h3>
                <textarea name="" id="" cols="30" rows="10" style="background: white;text-indent: 0.5rem;" placeholder="可输入您对物品的简单介绍~"></textarea>
            </div>
            <div class="margin-top-xl">
                <h3 class="text-bold">图集<span class="text-sm text-gray">（最多3张图，图片大小控制在2MB以内）</span></h3>
                <input type="text" placeholder="请输入货品单价" style="background: white;text-indent: 0.5rem;" class="margin-top radius">
            </div>
            
            <div class="margin-top-xxl">
                <h3 class="text-bold">联系人</h3>
                <input type="text" placeholder="请填写您的姓名" style="background: white;text-indent: 0.5rem;" class="margin-top radius">
            </div>
            <div class="margin-top-xxl">
                <h3 class="text-bold">联系电话</h3>
                <input type="text" placeholder="请填写您的联系方式" style="background: white;text-indent: 0.5rem;" class="margin-top radius">
            </div>
            <p><div class="aui-btn aui-btn-info aui-btn-block round margin-top-xxl">发布</div></p>

        </div>
        
    </div>
</body>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/vue.js"></script>
<script type="text/javascript">

    var vm = {
        el: '#app',
        data: {
            list: []
        },
        mounted: function(){
            this.getList();
        },
        methods: {
            getList: function(){
                let that = this;
            }
        }
    }
    apiready = function() {
        $api.fixStatusBar(
            $api.byId("header")
        );
        // window.app = new Vue(vm);
        

    };

    function backpage(){
        api.closeWin({
            name: api.winName
        })
        
    }

</script>

</html>
